using System;

namespace Wikey.Entity
{
    public class Comment : Entity<int>
    {
        public DateTime Created { get; set; }
        public string Title { get; set; }
        public string Text { get; set; }

        
        public Identity Identity { get; set; }

        public Page Page {get;set;}

        public Comment()
        {
            Identity = new Identity();
        }
    }

    public class Identity
    {
        public User SysUser { get; set; }
        public string Name { get; set; }
        public string Website { get; set; }
        public string OpenID { get; set; }
    }
}